/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.bean;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * 说明：
 * Entity Name 公司费用类型
 * @Author：李智深
 * @Date：2012-03-14
 */
@Entity
@Table(name="ruipeng_tb_TFeeType")
public class TFeeType implements Serializable{

	private static final long serialVersionUID = 1L;

	private String FeeTypeID;//费用项编号 CHAR(15) PK
	
	private String Name;//费项名称 CHAR(18)
	
	private Set<TFeeDetail> TFeeDetails=new HashSet<TFeeDetail>(0);

	@Id
	@Column(name = "FeeTypeID", length=15)
	public String getFeeTypeID() {
		return FeeTypeID;
	}

	public void setFeeTypeID(String feeTypeID) {
		FeeTypeID = feeTypeID;
	}

	@Column(name = "Name", length=18)
	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	@OneToMany(mappedBy="TFeeType")
	@JoinColumn(name="FeeID")
	public Set<TFeeDetail> getTFeeDetails() {
		return TFeeDetails;
	}

	public void setTFeeDetails(Set<TFeeDetail> tFeeDetails) {
		TFeeDetails = tFeeDetails;
	}
}
